Just run the scene to see how it works! 

Feel free to use this code as a base for stuff, but I'm mostly an artist so I can't make any claims about it being particularly good. 

David Baumgart
dgbaumgart@gmail.com
dgbaumgart.com